package com.hym.travel.dao;

import com.hym.travel.entity.Province;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProvinceDao extends BaseDao<Province,String> {
    @Override
    void save(Province province);

    @Override
    Province findOne(String id);

    @Override
    List<Province> findAll();

    @Override
    List<Province> findByPage(Integer start, Integer rows);

    @Override
    Integer findTotals();

    @Override
    void delete(String id);

    @Override
    void update(Province province);
}
